<!DOCTYPE html>
<html lang="en">
<head>
    <title>京伦内容管理系统</title>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="__PUBLIC__/bootstrap/css/bootstrap.min.css" />
    <load href="__PUBLIC__/bootstrap/js/jquery.min.js" />
    <load href="__PUBLIC__/bootstrap/js/bootstrap.min.js" />
    <script type="text/javascript">
        $(document).ready(function(){
            $('#collapseTwo').addClass('in');
            $('#collapseOne').removeClass('in');
        });
    </script>
</head>
<body>

<!-- header -->
<include file="Public:header" />



<div class="row">
    <!-- left -->
    <include file="User:left" />

    <div class="col-md-8" style="padding-top: 70px;">
        
            <ol class="breadcrumb">
                <li><a href="#">Home</a></li>
                <li><a href="#">System</a></li>
                <li class="active">{$pagetitle}</li>
            </ol>
        

        <div class="actions clearfix">
            <div class="pull-left">
                <a href="{:U('Auth/accessAdd')}"><button type="button" class="btn  btn-primary">添加权限</button></a>
                <a href="{:U('Auth/groupList')}"><button type="button" class="btn  btn-primary">角色管理</button></a>
            </div>
        </div>

        <div style="margin-top:15px;">
            <table class="table table-hover table-striped">
                <tr>
                    <td>序号</td>
                    <td>规则标识</td>
                    <td>规则简述</td>
                    <td>附加条件</td>
                    <td>所属模块</td>
                    <td>状态</td>
                    <td>操作</td>
                </tr>
                <volist name='data' id="vo">
                    <tr>
                        <td>{$i+$num}</td>
                        <td>{$vo['name']}</td>
                        <td>{$vo['title']}</td>
                        <td>{$vo['term']}</td>
                        <td>{$vo['moduleName']}</td>
                        <td>
                            <if condition="$vo['status'] eq 1"><span class="label label-success"><i class="glyphicon glyphicon-ok"></i></span>
                                <else />
									<span class="label label-danger">
									<i class="glyphicon glyphicon-remove"></i></span>
                            </if>
                        </td>
                        <td>
                            <div class="btn-group btn-group-xs">
                                <a href="{:U('Admin/Auth/accessDelHandle',array('id'=>$vo['id']))}">删除</a>
                            </div>

                        </td>
                    </tr>
                </volist>
            </table>
        </div>
        {$page}

    </div>
</div>





</body>
</html>
